-
Home
-
Disco – WooCommerce Dynamic Pricing & Discount Rules Plugin
-
1.2.81
-
Code
-
Classes
- SearchApi
| Total Complexity |
27 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
299 |
| Lines of code |
155 |
| Logical lines of code |
49 |
| Comment lines |
110 |
| Methods |
18 |
| Properties |
0 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| search_helper() |
S |
54 |
4 |
21 |
| get_item_schema() |
S |
46 |
2 |
47 |
| prepare_item_for_response() |
S |
62 |
4 |
11 |
| register_routes() |
S |
50 |
2 |
29 |
| validate_search_term() |
S |
72 |
2 |
6 |
| permissions_check() |
S |
80 |
1 |
3 |
| get_products() |
S |
79 |
1 |
3 |
| get_categories() |
S |
79 |
1 |
3 |
| get_tags() |
S |
79 |
1 |
3 |
| get_attributes() |
S |
79 |
1 |
3 |
| get_coupons() |
S |
79 |
1 |
3 |
| get_customers() |
S |
79 |
1 |
3 |
| get_states() |
S |
79 |
1 |
3 |
| get_countries() |
S |
79 |
1 |
3 |
| get_user_name() |
S |
79 |
1 |
3 |
| get_user_email() |
S |
79 |
1 |
3 |
| get_brands() |
S |
79 |
1 |
3 |
| get_collection_params() |
S |
72 |
1 |
5 |